//
//  ShionAppDelegate.h
//  Shion
//
//  Created by Chris Karr on 12/17/07.
//  Copyright 2007-2008 Audacious Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DeviceWebView.h"

#define NAME @"Name"
#define ADDRESS @"Address"
#define DIMMER @"Dimmer"
#define DEVICE @"Device"
#define ADD_DEVICE @"Add Device"
#define REMOVE_DEVICE @"Remove Device"

@interface ShionAppDelegate : NSObject 
{
	IBOutlet NSArrayController * devices;
	IBOutlet NSArrayController * snapshots;

	IBOutlet NSWindow * window;
	IBOutlet NSWindow * preferences;
	IBOutlet NSPanel * editPanel;

	IBOutlet NSWindow * snapshotWindow;

	IBOutlet NSSlider * slider;
	
	IBOutlet DeviceWebView * webView;
	
	NSMutableArray * asDevices;
	NSMutableArray * asSnapshots;

	BOOL isIdle;

	NSStatusItem * theItem;
	IBOutlet NSMenu * menu;
}

- (IBAction) edit:(id) sender;
- (IBAction) quitEdit:(id) sender;
- (IBAction) preferences:(id) sender;
- (IBAction) devicesWindow:(id) sender;
- (IBAction) snapshots:(id) sender;
- (IBAction) newSnapshot:(id) sender;
- (IBAction) openWebSite:(id) sender;

@end
